package cn.tulingxueyuan.service.impl;

import cn.tulingxueyuan.mapper.UserMapper;
import cn.tulingxueyuan.pojo.User;
import cn.tulingxueyuan.service.EmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by 滨湖华为 on 2021/11/21.
 */
@Service
public class EmpServiceImpl implements EmpService{

    @Autowired
    UserMapper userMapper;


    public void test() {
    System.out.print("spring test");
    }

    public List<User> selectAll() {
       return userMapper.selectAll();
    }
}
